<?php namespace App\Core\Metadata\Data;

use Input;

class FormData extends BaseData{
    
    public function __construct() {
        $this->data = Input::all();
        foreach($this->data as $key => $val){
            if(is_null($val)){
                $this->data[$key] = '';
            }
            /*if(is_array($val)){
                $this->data[$key] = implode(',', $val);
            }*/
        }
    }
}